import ContentCard from '@/page-components/ContentCard';
import EditForm from '@/page-components/EditForm';
import { Form } from 'antd';
import FileUpload from '@/components/FileUpload';
const UploadTest = () => {
  const [form] = Form.useForm();
  return (
    <div>
      <ContentCard title="上传测试">
        <EditForm form={form} >
          <Form.Item label="上传文件" name="file">
            <FileUpload multiple={true} />
          </Form.Item>
          {/* <Form.Item label="上传文件" name="file">
            <Upload>
              <Button>上传</Button>
            </Upload>
          </Form.Item> */}
        </EditForm>
      </ContentCard>
    </div>
  );
};

export default UploadTest;
